﻿<!DOCTYPE >
<html>
<head>
    <title>微街秀 > 充值明细</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <link rel="stylesheet" type="text/css" href="css/css.css">
    <link rel="stylesheet" type="text/css" href="css/MakeresultDetail.css">
    <script src="js/ajax-data.js" type="text/javascript"></script>
    <script src="js/jquery-2.1.4.min.js" type="text/javascript"></script>
    <script src="js/base.js" type="text/javascript"></script>
    <script src="js/dialog.js" type="text/javascript"></script>
</head>
<body>
    <div>
        <div class="wamtop">
            <div class="topleft" onclick="window.location.href='Makead_4.html'">
                <img src="img/5.jpg" /></div>
            <div class="topcententxt">
                充值明细</div>
        </div>
        <div class="tg_select">
            <div class="selTag">
                <div class="floatLeft">
                  订单号：</div>
                <div class="floatRgiht trade_no"></div>
            </div>
            <div class="selTag">
                <div class="floatLeft">充值金额：</div>
                <div class="floatRgiht amount"></div>
            </div>
            <div class="selTag">
                <div class="floatLeft">充值时间：</div>
                <div class="floatRgiht date"></div>
            </div>
            <div class="selTag">
                <div class="floatLeft">
                  充值账户：</div>
                <div class="floatRgiht ali_name"></div>
            </div>
            <div class="selTag">
                <div class="floatLeft">
                   余&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 额：</div>
                <div class="floatRgiht balance" style="color:Red;"></div>
            </div>
            <div class="bottonline"></div>
        </div>
    </div>
    <script>
        var page = 1;
        $(document).ready(function () {
            load(page);          
        });
        function load(page) {
            if (!islogin()) { window.location.href = 'login.html'; return; }
            var id = getUrlArgStr("id");
            if (id == "") return;
            AjaxStart("ajax/fc_record.ashx?get", "&id=" + id, function (data) {
                loadhtml(data.item);
            });
        }
        function loadhtml(item) {
            $(".trade_no").html(item["trade_no"]);
            $(".amount").html(item["amount"] + "元");
            $(".date").html(item["date"].replace("T"," ").substring(0,19));
            $(".ali_name").html(item["ali_name"]);
            $(".balance").html("￥" + item["balance"] + "元");
        }
    </script>
</body>
</html>
